//
//  Item.h
//  Item
//
//  Created by flannery on 2018/12/17.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Packing.h"

@protocol Item <NSObject>
-(NSString*)name;
-(id<Packing>) packing;
-(double)price;
@end

#pragma  ===热食物===
@interface Burger : NSObject <Item>
@end

@interface VegBurger : Burger
@end

@interface ChickBurger : Burger
@end

#pragma ===冷饮===
@interface ColdDrink : NSObject <Item>
@end

@interface Coke : ColdDrink
@end

@interface Pepsi : ColdDrink
@end

